// 创建一个公共的窗口样式文件
.window-base {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border: 1px solid #999;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  
  .window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px;
    background: #E9E9E9;
    border-bottom: 1px solid #DDD;
    
    .window-title {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      
      .app-icon {
        width: 16px;
        height: 16px;
      }
    }
    
    .window-buttons {
      display: flex;
      gap: 4px;
      
      span {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        
        &:hover {
          background: rgba(0, 0, 0, 0.1);
        }
      }
    }
  }
} 